Method for calbrating a pipelined continuous-time sigma delta modulator

ABSTRACT

Traditionally, pipelined continuous-time (CT) sigma-delta modulators (SDM) have been difficult to build due at least in part to the difficulties in calibrating the pipeline. Here, however, a pipelined CT SDM is provided that has an architecture that is conducing to being calibrated. Namely, the system includes a digital filter and other features that can be adjusted to account for input imbalance errors and well as quantization leakage noise.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is continuation from U.S. patent application Ser. No. 12/899,158, filed Oct. 6, 2010, which is related to co-pending U.S. patent application Ser. No. 12/899,205, entitled “PIPELINED CONTINUOUS-TIME SIGMA DELTA MODULATOR,” filed Oct. 6, 2010, which are hereby incorporated by reference for all purposes.

TECHNICAL FIELD

The invention relates generally to data converters and, more particularly, to continuous-time (CT) sigma-delta modulators (SDMs) or sigma-delta analog-to-digital converters (ADCs).

BACKGROUND

Referring to FIG. 1 of the drawings, the reference numeral 100 generally designates a pipelined discrete-time (DT) SDM. With a DT data converter, an analog input signal (such as signal AIN) is sampled by a sample-and-hold (S/H) circuit (such as S/H circuit 102) at discrete points in time or sampling instants, and the samples are converted to digital. Here, two SDM stages 104-1 and 104-2 are used in a pipeline configuration to perform the conversion for each of the samples. Each of stages 104-1 and 104-2 respectively comprise summing circuits 116-1/118-1 or 116-2/118-2, a delay 120-1 or 120-2, quantizer 122-1 or 122-2, digital low pass filter (LPF) 124-1 or 124-2, and digital-to-analog converter (DAC) 128-1 or 128-2. Additionally, stage 104-1 also includes digital filter 126. Between stages 104-1 and 104-2, there are several other components that enable stages 104-1 and 104-2 to operate as a pipeline; namely, these components are delay 108, summing circuit 110, amplifiers 112 and 114, analog LPF 113, and digital output circuit 106.

In operation, DT SDM 100 converts the analog input signal AIN to digital output signal DOUT. To accomplish this, a sample of the analog input signal AIN is provided to stage 104-1 (by S/H circuit 102), where the sample is converted to digital using conventional sigma-delta modulation. The same sample is provided to delay 108 so as to provide stage 104-1 with sufficient time to perform the data conversion. The difference analog representation of the data conversion (from DAC 128-1) and the sampled analog input signal AIN (from delay 108) or residue is determined by summing circuit 110. This residue is amplified and filtered by amplifiers 112 and 114 and analog LPF 113 and provided to stage 104-2. Stage 104-2 can then convert the residue to digital using conventional sigma-delta modulation. The digital output circuit 106 then generates the digital output signal DOUT based the output from each pipeline 104-1 and 104-2.

This architecture, however, is incompatible with CT sigma-delta modulation. With DT sigma-delta modulation, the input to the stages (i.e., stages 104-1 and 104-2) is constant during conversion because the S/H circuit 102 holds the sampled analog input signal AIN. In contrast, an input to stages of a pipeline would be varying. Looking to DT SDM 100, it specifically employs a delay 108 so that stages 104-1 and 104-2 perform sigma-delta modulation on the same sample. If one were to remove the S/H circuit 102 so as to provide a continuously varying signal (i.e., analog input signal AIN) directly to stage 104-1 and delay 108, DT SDM 100 would not function.

Some other conventional circuits are: U.S. Pat. No. 5,729,230; U.S. Pat. No. 6,788,232; U.S. Pat. No. 7,460,046; U.S. Pat. No. 7,486,214.

SUMMARY

A preferred embodiment of the present invention, accordingly, provides an apparatus. The apparatus comprises a first continuous-time (CT) sigma-delta modulator (SDM) that receives an analog input signal; a digital-to-analog converter (DAC) that is coupled to the first CT SDM; a first summing circuit that receives the analog input signal and that is coupled to the DAC, wherein the first summing circuit determines a difference between the analog input signal and an output from the DAC; an amplifier that is coupled to the summing circuit, wherein the amplifier has a first gain, and wherein the amplifier includes a filter; a second CT SDM that is coupled to the amplifier; a digital gain circuit that is coupled to the second CT SDM, wherein the digital gain circuit has a second gain, and wherein the second gain is substantially the inverse of the first gain, and wherein the amplifier, the second CTSDM, and the DAC collectively have a first transfer function; a digital filter that is coupled to the first CT SDM, wherein the digital filter has a second transfer function, wherein the second transfer function substantially matches the first transfer function; and a second summing circuit that is coupled to the digital filter and the digital gain circuit.

In accordance with a preferred embodiment of the present invention, the DAC further comprises a first DAC having a third gain, and wherein the digital filter has a fourth gain, and wherein the second CT SDM further comprises: a third summing circuit that is coupled to the amplifier; an SDM filter that is coupled to the third summing circuit; a quantizer that is coupled to the SDM filter; and a second DAC that is coupled to the quantizer and the third summing circuit, wherein the third summing circuit determines a difference between an output of the amplifier and an output of the second DAC, and wherein the second DAC has a fifth gain, and wherein the ratio of the third gain to the fifth gain is approximately equal to the fourth gain.

In accordance with a preferred embodiment of the present invention, the SDM filter and the quantizer further comprise a first SDM filter and a first quantizer, and wherein the first CT SDM further comprises: a fourth summing circuit that receives the analog input signal; a second SDM filter that is coupled to the fourth summing circuit; a second quantizer that is coupled to the second SDM filter; and a second DAC that is coupled to the second quantizer and the fourth summing circuit, wherein the fourth summing circuit determines a difference between the analog input signal and an output of the second DAC.

In accordance with a preferred embodiment of the present invention, the apparatus further comprises: an analog delay line that receives the analog input signal is coupled to the first summing circuit; and a digital predictor that is coupled between the first CT SDM and the first DAC.

In accordance with a preferred embodiment of the present invention, the apparatus further comprises an analog predictor that receives the analog input signal and that is coupled to the fourth summing circuit.

In accordance with a preferred embodiment of the present invention, the amplifier further comprises a first amplifier, and wherein the apparatus further comprises a second amplifier that is coupled to the first summing circuit and that receives the analog input signal.

In accordance with a preferred embodiment of the present invention, the second amplifier has a third gain, and wherein the third gain is dimensioned to minimize an autocorrelation of an output of the second CT SDM.

In accordance with a preferred embodiment of the present invention, the apparatus further comprises an output circuit that is coupled to the second circuit and that provides a digital output signal.

In accordance with a preferred embodiment of the present invention, an apparatus is provided. The apparatus comprises an input terminal; a first stage of a pipeline including: a first CT SDM that is coupled to the input terminal; and a digital filter that is coupled to the first CT SDM, wherein the digital filter has a first transfer function; a second stage of a pipeline including: a first summing circuit that is coupled to the input terminal, wherein the first summing circuit is adapted to determine a difference; an amplifier that is coupled to the first summing circuit, wherein the amplifier has a first gain, and wherein the amplifier includes a filter; a second CT SDM that is coupled to the first amplifier; and a digital gain circuit that is coupled to the second CT SDM, wherein the digital gain circuit has a second gain that is an inverse of the first gain; a DAC that is coupled between the first CT SDM and the first summing circuit, wherein the amplifier, the DAC, and the second CT SDM collectively have a second transfer function; and a second summing circuit that is coupled to each stage of the pipeline, wherein the first transfer function is adjusted to substantially match the second transfer function.

In accordance with a preferred embodiment of the present invention, the DAC further comprises a first DAC having a third gain, and wherein the digital filter has a fourth gain, and wherein the second CT SDM further comprises: a third summing circuit that is coupled to the amplifier; an SDM filter that is coupled to the third summing circuit; a quantizer that is coupled to the SDM filter; and a second DAC that is coupled to the quantizer and the third summing circuit, wherein the third summing circuit determines a difference between an output of the amplifier and an output of the second DAC, and wherein the second DAC has a fifth gain, and wherein the ratio of the third gain to the fifth gain is approximately equal to the fourth gain.

In accordance with a preferred embodiment of the present invention, the SDM filter and the quantizer further comprise a first SDM filter and a first quantizer, and wherein the first CT SDM further comprises: a fourth summing circuit that receives the analog input signal; a second SDM filter that is coupled to the fourth summing circuit; a second quantizer that is coupled to the second SDM filter; and a second DAC that is coupled to the second quantizer and the fourth summing circuit, wherein the fourth summing circuit determines a difference between the analog input signal and an output of the second DAC.

In accordance with a preferred embodiment of the present invention, the amplifier further comprises a first amplifier, and wherein the apparatus further comprises a second amplifier that is coupled to the first summing circuit and that receives the analog input signal.

In accordance with a preferred embodiment of the present invention, the second amplifier has a third gain, and wherein the third gain is adjusted by the controller to minimize an autocorrelation of an output of the second CT SDM.

In accordance with a preferred embodiment of the present invention, the apparatus further comprises an output circuit that is coupled to the second circuit and that provides a digital output signal.

In accordance with a preferred embodiment of the present invention, an apparatus is provided. The apparatus comprises an input terminal that receives an analog input signal; a first stage of a pipeline including: a first CT SDM including: a first summing circuit that is coupled to the input terminal so as to receive the analog input signal; a first SDM filter that is coupled to the first summing circuit; a first quantizer that is coupled to the first SDM filter; and a first DAC that is coupled to the first quantizer and the first summing circuit, wherein the first summing circuit determines a difference between the analog input signal and an output of the second DAC; and a digital filter that is coupled to the first CT SDM, wherein the digital filter has a first transfer function; a second stage of a pipeline including: a first amplifier that is coupled to the input terminal so as to receive the analog input signal, wherein the first amplifier has a first gain; a second summing circuit that is coupled to the first amplifier, wherein the second summing circuit is adapted to determine a difference; a second amplifier that is coupled to the second summing circuit, wherein the second amplifier has a second gain, wherein the second amplifier includes a filter; a second CT SDM having: a third summing circuit that is coupled to the second amplifier; a second SDM filter that is coupled to the third summing circuit; a second quantizer that is coupled to the second SDM filter; and a second DAC that is coupled to the second quantizer and the third summing circuit, wherein the third summing circuit determines a difference between an output of the second amplifier and an output of the second DAC; and a digital gain circuit that is coupled to the second CT SDM, wherein the third amplifier has a third gain that is an inverse of the second gain; a third DAC that is coupled between the first CT SDM and the second summing circuit, wherein the third DAC, the second CT SDM, and the second amplifier collectively have a second transfer function; a fourth summing circuit that is coupled to each stage of the pipeline, wherein the first transfer function is adjusted to substantially match the second transfer function, and wherein the first gain is adjusted to minimize an autocorrelation of an output of the second CT SDM, and wherein a gain of the digital filter to be approximately equal to a ratio of the gains of the second and third DACs; and an output circuit that is coupled to the fourth summing circuit and that provides a digital output signal.

In accordance with a preferred embodiment of the present invention, a method for calibrating at least a portion of a pipelined continuous-time (CT) sigma-delta modulator (SDM) is provided, The CT SDM includes a first stage, a second stage, and a first digital-to-analog converter (DAC) coupled between the first and second stages, and a digital filter that is coupled to the first and second stages, and wherein the second stage includes a second DAC. The method comprises determining a ratio of a gain of the first DAC to a gain of the second DAC; adjusting a gain of a digital filter to be approximately equal to the ratio of the gain of the first DAC to the gain of the second DAC; and adjusting the digital filter to maximize a cross-correlation between an output of the digital filter and the output of the second stage.

In accordance with a preferred embodiment of the present invention, the method further comprises: disabling the first DAC, wherein the first DAC is located between a first stage and a second stage of the pipelined CT SDM; applying a predetermined input signal to the second stage while the first DAC is disabled; enabling the first DAC; disabling the second DAC within the second stage; and applying the predetermined input signal to the second stage while the using the first DAC as a feedback DAC for the second stage.

In accordance with a preferred embodiment of the present invention, the method further comprises determining a gain of an amplifier located in the second stage that minimizes an autocorrelation of an output of the second stage.

In accordance with a preferred embodiment of the present invention, a method for calibrating at least a portion of a pipelined CT SDM is provided. The method comprises disabling a first DAC, wherein the first DAC is located between the first stage and the second stage of the pipelined CT SDM; applying a predetermined input signal to the second stage while the first DAC is disabled; enabling the first DAC; disabling a second DAC within the second stage; applying the predetermined input signal to the second stage while the using the first DAC as a feedback DAC for the second stage; determining gains of the first and second DACs; and adjusting a gain of a digital filter to be a function of the gains of the first and second DACs.

In accordance with a preferred embodiment of the present invention, the digital filter is coupled to the first and second stages.

In accordance with a preferred embodiment of the present invention, the function is a ratio of the gains of the first and second DACs.

In accordance with a preferred embodiment of the present invention, the method further comprises determining a gain of an amplifier located in the second stage that minimizes an autocorrelation of an output of the second stage.

In accordance with a preferred embodiment of the present invention, the method further comprises adjusting the digital filter to maximize a cross-correlation between an output of the digital filter and the output of the second stage.

The foregoing has outlined rather broadly the features and technical advantages of the present invention in order that the detailed description of the invention that follows may be better understood. Additional features and advantages of the invention will be described hereinafter which form the subject of the claims of the invention. It should be appreciated by those skilled in the art that the conception and the specific embodiment disclosed may be readily utilized as a basis for modifying or designing other structures for carrying out the same purposes of the present invention. It should also be realized by those skilled in the art that such equivalent constructions do not depart from the spirit and scope of the invention as set forth in the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:

FIG. 1 is a block diagram of a conventional pipelined DT SDM;

FIG. 2 is a block diagram of an example of a pipelined CT SDM in accordance with a preferred embodiment of the present invention; and

FIGS. 3 and 4 are block diagrams of examples of the sub-CT SDMs of FIG. 2.

DETAILED DESCRIPTION

Refer now to the drawings wherein depicted elements are, for the sake of clarity, not necessarily shown to scale and wherein like or similar elements are designated by the same reference numeral through the several views.

Turning to FIGS. 2-4, an example of a pipelined CT SDM 200 in accordance with a preferred embodiment of the present invention can be seen. As an example, CT SDM 200 is a two-stage pipeline; however, CT SDM 200 can be scaled to include more stages. In this example, CT SDM 200 generally comprises CT SDMs (or sub-CT SDMs) 202 and 212, DAC 204, digital filter 206, amplifiers 220 and 210, digital gain circuit 214, summing circuits 208 and 216, output circuit 218, and an adjustable delay 222. CT SDM 202 (which can be seen in FIG. 3) generally comprises summing circuit 302, SDM filter 304, quantizer 306, and DAC 308, and CT SDM 212 generally comprises summing circuit 402, SDM filter 404, quantizer 405, and DAC 408. Also, CT SDM 202 can be a lower order modulator (i.e., order of 1 or 2), while CT SDM 212 can be a higher order modulator (i.e., order greater than 3) with aggressive noise shaping. Moreover, amplifier 210 also includes a filter. Amplifiers 220 and 210 can take on many forms, including but not limited to voltage-to-voltage amplifiers (i.e., operational amplifiers), voltage-to-current amplifiers with a current gain (i.e, transconductance amplifiers or variable resistors), current-to-voltage amplifiers (i.e., transimpedance amplifiers), or current-to-current amplifiers (i.e., current mode amplifiers having a topology that depends on the input signal AIN).

In order for CT SDM to function, CT SDM 200 is generally calibrated to compensate for system mismatches, but to make any calibrations, the sources of mismatch and error should be identified. Each of DACs 204, 308, and 408 each have gains of g₄, g₁, and g₂, while amplifiers 220 and 210 and digital gain circuit 214 have gains of g₃, g₅, and g₆. Gain g₆ can be adjusted to be approximately equal to be the inverse of gain g₅ (or g₆=1/g₅), which generally eliminates the effect of amplifiers 210. Alternatively, the gain g₅ can be 1 so as to use the filter incorporated therein. Additionally, each of SDM filters 304 and 306 include a gain of 1/g₁ and 1/g₂, respectively, to compensate for the gains of their respective DACs 308 and 408, and digital filter 206 has a gain of g_(F) and a transfer function of C_(F)(z). As a result, the output Y₁(z) (which is in the frequency domain or z-domain) from CT SDMs 202 is

$\begin{matrix} {{{Y_{1}(z)} = {\frac{{S_{1}(z)}{X(z)}}{g_{1}} + {{N_{1}(z)}{Q_{1}(z)}}}},} & (1) \end{matrix}$ where, S₁(z) is the Signal Transfer Function (STF) and N₁(z) is the Noise Transfer Function (NTF) of an equivalent Discrete-Time Sigma Delta Modulator to which the CT SDM 200 is mapped for purposes of analysis using techniques well known to those skilled in the art, Q₁(z) is the quantization error of the quantizer and X(z) is the discrete time equivalent of the continuous-time input. This leads to the output Y_(1,N)(z) from digital filter 206 being:

$\begin{matrix} {{{Y_{1,N}(z)} = {{{Y_{1}(z)}g_{F}{C_{F}(z)}} = {{\left( \frac{g_{F}}{g_{1}} \right){S_{1}(z)}{X(z)}{C_{F}(z)}} + {g_{F}{N_{1}(z)}{Q_{1}(z)}{C_{F}(z)}}}}},} & (2) \end{matrix}$ The input R(z) into CT SDM 212 is a combination of the output from amplifier 220 and output Y₁(z) yielding:

$\begin{matrix} {{R(z)} = {{{g_{3}{X(z)}} - {g_{4}{Y_{1}(z)}}} = {{g_{3}{X(z)}} - {\left( \frac{g_{4}}{g_{1}} \right){S_{1}(z)}{X(z)}} - {g_{4}{N_{1}(z)}{{Q_{1}(z)}.}}}}} & (3) \end{matrix}$ Now using the same rationale applied to CT SDM 202 (because the structures of CT SDMs 202 and 212 are similar), the output Y₂(z) for CT SDM 212 is:

$\begin{matrix} {{Y_{2}(z)} = {{\frac{{S_{2}(z)}{R(z)}}{g_{2}} + {{N_{2}(z)}{Q_{2}(z)}}} = {{\left( \frac{g_{3}}{g_{2}} \right){S_{2}(z)}{X(z)}} - {\left( \frac{g_{4}}{g_{1}g_{2}} \right){S_{2}(z)}{S_{1}(z)}{X(z)}} - {\left( \frac{g_{4}}{g_{2}} \right){S_{2}(z)}{N_{1}(z)}{Q_{1}(z)}} + {{N_{2}(z)}{Q_{2}(z)}}}}} & (4) \end{matrix}$ Thus, the output Y(z) of CT SDM 200 should be:

$\begin{matrix} {{Y(z)} = {{{Y_{1,N}(z)} + {Y_{2}(z)}} = {{\left( \frac{g_{F\;}}{g_{1}} \right){S_{1}(z)}{X(z)}{C_{F}(z)}} + {{N_{2}(z)}{Q_{2}(z)}} + {\left( \frac{g_{3}}{g_{2}} \right){S_{2}(z)}{X(z)}} - {\left( \frac{g_{4}}{g_{1}g_{2}} \right){S_{2}(z)}{S_{1}(z)}{X(z)}} + {g_{F}{N_{1}(z)}{Q_{1}(z)}{C_{F}(z)}} - {\left( \frac{g_{4}}{g_{2}} \right){S_{2}(z)}{N_{1}(z)}{Q_{1}(z)}}}}} & (5) \end{matrix}$ Equation (5) can then be reduced as follows:

$\begin{matrix} {{Y(z)} = {{\left( \frac{g_{F}}{g_{1}} \right){S_{1}(z)}{X(z)}{C_{F}(z)}} + {{N_{2}(z)}{Q_{2}(z)}} + {\left( \frac{{g_{1}g_{3}} - {g_{4}{S_{1}(z)}}}{g_{1}g_{2}} \right){S_{2}(z)}{X(z)}} + {\left( {{g_{F}{C_{F}(z)}} - {\left( \frac{g_{4}}{g_{2}} \right){S_{2}(z)}}} \right){N_{1}(z)}{Q_{1}(z)}}}} & (6) \end{matrix}$ Therefore, it can be easily observed that output Y(z) is a combination of the desired output Y_(DES)(z), the input phase imbalance Y_(PI)(z), and the quantization noise leakage Y_(QNL)(z), which are as follows:

$\begin{matrix} {{{Y_{DES}(z)} = {{\left( \frac{g_{F}}{g_{1}} \right){S_{1}(z)}{X(z)}{C_{F}(z)}} + {{N_{2}(z)}{Q_{2}(z)}}}}{{Y_{PI}(z)} = {\left( \frac{{g_{1}g_{3}} - {g_{4}{S_{1}(z)}}}{g_{1}g_{2}} \right){S_{2}(z)}{X(z)}}}{{Y_{QNL}(z)} = {\left( {{g_{F}{C_{F}(z)}} - {\left( \frac{g_{4}}{g_{2}} \right){S_{2}(z)}}} \right){N_{1}(z)}{Q_{1}(z)}}}} & (7) \end{matrix}$

Looking first to the quantization noise leakage Y_(QNL)(z), this error is related to the gains g₄, g₂, and g_(F) and transfer functions C_(F)(z) and S₂(z). If one were to set the ratio of gains g₄ and g₂ to be approximately equal to gain g_(F)

$\;{\left( {\frac{g_{4}}{g_{2}} = g_{F}} \right),}$ then a matching of the transfer functions C_(F)(z) and S₂(z) would result in elimination of this quantization noise leakage Y_(QNL)(z). Since gain g_(F) and C_(F)(z) transfer function is adjustable (as being part of digital filter 206), adjustment can be based on determinations of the gains g₄ and g₂ and transfer function.

To determine the gains g₄ and g₂, DACs 204 and 408 can be selectively deactivated. Initially, a test signal (of any magnitude) can be applied to the CT SDM 200 with DAC 204 in a deactivated state and the gain g₃ set to 1 so that the output Y₂(z) of CT SDM 212 can be measured. Under these circumstances, the gain g₄ is effectively 0, allowing equation (4) to be reduced to become output Y_(2C1)(z) as follows:

$\begin{matrix} {{Y_{2C\; 1}(z)} = {{\left( \frac{1}{g_{2}} \right){S_{2}(z)}{X(z)}} + {{N_{2}(z)}{Q_{2}(z)}}}} & (8) \end{matrix}$ Then, the same test signal can be applied to CT SDM 212 with DAC 408 in a deactivated state and with DAC 204 as a feedback DAC for CT SDM 212. This changes the output Y₂(z) to become output Y_(2C2)(z) as follows:

$\begin{matrix} {{Y_{2C\; 2}(z)} = {{\frac{1}{g_{4}}{S_{2}(z)}{X(z)}} + {{N_{2}(z)}{Q_{2}(z)}}}} & (9) \end{matrix}$ Each of outputs Y_(2C1)(z) and Y_(2C2)(z) can be measured. By dividing the outputs Y_(2C1)(z) and Y_(2C2)(z) and noting that for a small band-width around the signal of interest the term N₂(z)Q₂(z) is negligible yields:

$\begin{matrix} {\frac{Y_{2C\; 1}(z)}{Y_{2C\; 2}(z)} = \frac{g_{4}}{g_{2}}} & (10) \end{matrix}$ Thus, a simple analysis of the system (which depends on the structures of the SDM filter 404) can yield the ratio

$\frac{g_{4}}{g_{2}}.$ Typically, CT SDM 212 can be a higher order modulator (i.e., greater than 3) so the SDM filter 404 be, accordingly, a higher order filter. Gain g_(F) can then be adjusted to be proximately equal to the ratio

$\frac{g_{4}}{g_{2}}.$

With gain g_(F) set, the transfer function C_(F)(z) can be adjusted to substantially match the transfer function S₂(z). To do this, an error function E that is a cross-correlation of an output Y_(1,N)(z) of digital filter and output Y₂(z) of CT SDM 212 is used, where error function E is as follows: E{Y _(1,N)(k),Y ₂(k)}=(Y _(1,N) *Y ₂)(k)=Σ Y _(1,N)(i)Y ₂(i+k)  (11) This error function E is maximized when the transfer functions C_(F)(z) and S₂(z) are matched. Thus, digital filter 206 can be adjusted until the error function E is substantially maximized. Additionally, because the Q₁(z) are common terms between outputs Y_(1,N)(z) and Y₂(z), digital filter 206 can be blindly adjusted or calibrated.

Now, turning to the gain imbalance, the output Y₂(z) is generally comprised shaped of Q-noise Y_(2Q)(z) and phase/gain imbalance Y_(2P1)(z), which are as follows:

$\begin{matrix} {{{Y_{2{PI}}(z)} = {{X(z)}\left( {g_{3} - {\left( \frac{g_{4}}{g_{1}} \right){S_{1}(z)}}} \right)\left( \frac{S_{2}(z)}{g_{2}} \right)}}{{Y_{2Q}(z)} = {{{N_{2}(z)}{Q_{2}(z)}} - {\left( \frac{g_{4}}{g_{2}} \right){S_{2}(z)}{N_{1}(z)}{Q_{1}(z)}}}}} & (12) \end{matrix}$ Because there can be a delay associated with amplifier 220 and DAC 204, gains g₃ and g₄ can be represented as g₃A_(d)(z) and g₄D_(d)(z), and from equation (11) above, it is clear that the following condition should substantially eliminate the gain imbalance Y_(2P1)(z):

$\begin{matrix} {{{g_{3}{A_{d}(z)}} - {\left( \frac{g_{4}}{g_{1}} \right){D_{d}(z)}{S_{1}(z)}}} = 0} & (13) \end{matrix}$ This would mean that the gain imbalance of Y_(2P1)(z) would be substantially eliminated when the when the autocorrelation of Y₂(z) (with gains g₃ and g₄ represented as g₃A_(d)(z) and g₄D_(d)(z)) is approximately equal to zero. Thus, by adjusting delay 222 and the gain of 220, the gain imbalance Y_(2P1)(z) cab be substantially eliminated.

Alternatively, the ratio

$\frac{g_{4}}{g_{1}}$ can be determined by selectively deactivating DACs 204 and 408, similar to the method described above to determine the ratio

$\frac{g_{4}}{g_{2}}.$ Initially, a test signal (of any magnitude) can be applied to the CT SDM 200 with DAC 204 in a deactivated state and the gain g₃ set to the ratio

$\frac{g_{4}}{g_{1}}$ so that the output Y₂(z) of CT SDM 212 can be measured. Under these circumstances, equation (4) can be reduced to become output Y_(2D1)(z) as follows:

$\begin{matrix} {{Y_{2D\; 1}(z)} = {{\left( \frac{1}{g_{1}} \right){S_{2}(z)}{X(z)}} + {{N_{2}(z)}{Q_{2}(z)}}}} & (14) \end{matrix}$ Then, the same test signal can be applied to CT SDM 212 with DAC 408 in a deactivated state and with DAC 204 as a feedback DAC for CT SDM 212. This changes the output Y₂(z) to become output Y_(2C2)(z) as denoted in equation (9) above. Each of outputs Y_(2D1)(z) and Y_(2C2)(z) can be measured. By dividing the outputs Y_(2D1)(z) and Y_(2C2)(z) and noting that, for a small band-width around the signal of interest, the term N₂(z)Q₂(z) is negligible yields:

$\begin{matrix} {\frac{Y_{2D\; 1}(z)}{Y_{2C\; 2}(z)} = \frac{g_{4}}{g_{1}}} & (15) \end{matrix}$ Thus, a simple analysis of the system (which depends on the structures of the SDM filter 404) can yield the ratio

$\frac{g_{4}}{g_{1}}.$ Thus, by adjusting gain g₃ to be approximately equal to the ratio

$\frac{g_{4}}{g_{1}}$ with this foreground calibration scheme (as opposed to the background scheme described above), gain imbalance can be substantially eliminated.

To generally eliminate phase imbalance, either a digital predictor 220 or digital predictor with an analog delay line 222 can be employed. The tuning of either the digital predictor 220 or the analog delay line 222 can be done by minimizing the autocorrelation (similar to the scheme described above). For the digital predictor 220, for example, an analog delay line 222 can be introduced such that the delay through delay line 222 is greater than that through the CT SDM 202 so as to allow digital predictor 220 to be tuned such that the auto-correlation is minimized.

Having thus described the present invention by reference to certain of its preferred embodiments, it is noted that the embodiments disclosed are illustrative rather than limiting in nature and that a wide range of variations, modifications, changes, and substitutions are contemplated in the foregoing disclosure and, in some instances, some features of the present invention may be employed without a corresponding use of the other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the invention. 

The invention claimed is:
 1. An apparatus for calibrating at least a portion of a pipelined continuous-time (CT) sigma-delta modulator (SDM), wherein the CT SDM includes a first stage, a second stage, and a first digital-to-analog converter (DAC) coupled between the first and second stages, and a digital filter that is coupled to the first and second stages, and wherein the second stage includes a second DAC, the apparatus comprising: means for determining a ratio of a gain of the first DAC to a gain of the second DAC; means for adjusting a gain of a digital filter to be approximately equal to the ratio of the gain of the first DAC to the gain of the second DAC; and means for adjusting the digital filter to maximize a cross-correlation between an output of the digital filter and the output of the second stage.
 2. The apparatus of claim 1, wherein the apparatus further comprises: means for disabling the first DAC, wherein the first DAC is located between the first stage and the second stage of the pipelined CT SDM; means for applying a predetermined input signal to the second stage while the first DAC is disabled; means for enabling the first DAC; means for disabling the second DAC within the second stage; and means for applying the predetermined input signal to the second stage while the using the first DAC as a feedback DAC for the second stage.
 3. The apparatus of claim 2, wherein the apparatus further comprises means for determining a gain of an amplifier located in the second stage that minimizes an autocorrelation of an output of the second stage.
 4. An apparatus for calibrating at least a portion of a pipelined CT SDM, the apparatus comprising: means for disabling a first DAC, wherein the first DAC is located between a first stage and a second stage of the pipelined CT SDM; means for applying a predetermined input signal to the second stage while the first DAC is disabled; means for enabling the first DAC; means for disabling a second DAC within the second stage; means for applying the predetermined input signal to the second stage while the using the first DAC as a feedback DAC for the second stage; means for determining gains of the first and second DACs; means for adjusting a gain of a digital filter to be a function of the gains of the first and second DACs, and wherein the digital filter is coupled to the first and second stages.
 5. The apparatus of claim 4, wherein the function is a ratio of the gains of the first and second DACs.
 6. The apparatus of claim 5, wherein the apparatus further comprises determining a gain of an amplifier located in the second stage that minimizes an autocorrelation of an output of the second stage.
 7. The apparatus of claim 6, wherein the apparatus further comprises adjusting the digital filter to maximize a cross-correlation between an output of the digital filter and the output of the second stage. 